﻿IF EXISTS (SELECT * from sys.procedures p left join sys.schemas s on p.schema_id = s.schema_id where p.name='operation_insert' and s.name='Budget')
DROP PROCEDURE [Budget].operation_insert
GO
CREATE PROCEDURE [Budget].operation_insert 
@PK uniqueidentifier, 
@Name nvarchar(100)
AS
BEGIN
INSERT INTO [Budget].[Operations]
([id_schedule], [name])
VALUES (@PK,@Name)
END